1 //+-----------------------------------------------------------------------
3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // Defines the PersistFile class of PresentationHost
12 // Ported Windows->DevDiv. See SourcesHistory.txt.
14 //------------------------------------------------------------------------
18 class CPersistFile
: IPersistFile
21 CHostShim
* m_pHostShim
;
24 CPersistFile::CPersistFile(__in CHostShim
* pHostShim
);
25 CPersistFile::~CPersistFile();
27 STDMETHODIMP
QueryInterface(REFIID
, __out LPVOID
*);
28 STDMETHODIMP_(ULONG
)AddRef();
29 STDMETHODIMP_(ULONG
)Release();
31 STDMETHODIMP
GetClassID(__out LPCLSID
);
32 STDMETHODIMP
Save(__in_ecount(MAX_PATH
+1) LPCOLESTR
, BOOL
);
33 STDMETHODIMP
SaveCompleted(LPCOLESTR
);
34 STDMETHODIMP
Load(__in_ecount(MAX_PATH
+ 1) LPCOLESTR
, DWORD
);
35 STDMETHODIMP
IsDirty(void);
36 STDMETHODIMP
GetCurFile(__out LPOLESTR
*);